# 设置 CMake 最低版本要求
cmake_minimum_required(VERSION 3.10)

# 设置项目名称
project(AddCustomOperator)

# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 11)

# 添加可执行文件或共享库
add_library(add_custom SHARED src/add_custom.cpp)

# 包含头文件目录
target_include_directories(add_custom PRIVATE include)

# 链接依赖库（如果有）
# target_link_libraries(add_custom PRIVATE custom_library)

# 设置编译选项
set_target_properties(add_custom PROPERTIES COMPILE_FLAGS "-Wall -Wextra")